Optimal. Leaf size=102 \[ \frac{3 \text{PolyLog}\left (2,-e^{2 \text{sech}^{-1}(a x)}\right )}{2 a^2}-\frac{3 \sqrt{\frac{1-a x}{a x+1}} (a x+1) \text{sech}^{-1}(a x)^2}{2 a^2}-\frac{3 \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{3 \text{sech}^{-1}(a x) \log \left (e^{2 \text{sech}^{-1}(a x)}+1\right )}{a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.121762, antiderivative size = 102, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.875, Rules used = {6285, 5418, 4184, 3718, 2190, 2279, 2391} \[ \frac{3 \text{PolyLog}\left (2,-e^{2 \text{sech}^{-1}(a x)}\right )}{2 a^2}-\frac{3 \sqrt{\frac{1-a x}{a x+1}} (a x+1) \text{sech}^{-1}(a x)^2}{2 a^2}-\frac{3 \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{3 \text{sech}^{-1}(a x) \log \left (e^{2 \text{sech}^{-1}(a x)}+1\right )}{a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6285
Rule 5418
Rule 4184
Rule 3718
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int x \text{sech}^{-1}(a x)^3 \, dx &=-\frac{\operatorname{Subst}\left (\int x^3 \text{sech}^2(x) \tanh (x) \, dx,x,\text{sech}^{-1}(a x)\right )}{a^2}\\ &=\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3-\frac{3 \operatorname{Subst}\left (\int x^2 \text{sech}^2(x) \, dx,x,\text{sech}^{-1}(a x)\right )}{2 a^2}\\ &=-\frac{3 \sqrt{\frac{1-a x}{1+a x}} (1+a x) \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3+\frac{3 \operatorname{Subst}\left (\int x \tanh (x) \, dx,x,\text{sech}^{-1}(a x)\right )}{a^2}\\ &=-\frac{3 \text{sech}^{-1}(a x)^2}{2 a^2}-\frac{3 \sqrt{\frac{1-a x}{1+a x}} (1+a x) \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3+\frac{6 \operatorname{Subst}\left (\int \frac{e^{2 x} x}{1+e^{2 x}} \, dx,x,\text{sech}^{-1}(a x)\right )}{a^2}\\ &=-\frac{3 \text{sech}^{-1}(a x)^2}{2 a^2}-\frac{3 \sqrt{\frac{1-a x}{1+a x}} (1+a x) \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3+\frac{3 \text{sech}^{-1}(a x) \log \left (1+e^{2 \text{sech}^{-1}(a x)}\right )}{a^2}-\frac{3 \operatorname{Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text{sech}^{-1}(a x)\right )}{a^2}\\ &=-\frac{3 \text{sech}^{-1}(a x)^2}{2 a^2}-\frac{3 \sqrt{\frac{1-a x}{1+a x}} (1+a x) \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3+\frac{3 \text{sech}^{-1}(a x) \log \left (1+e^{2 \text{sech}^{-1}(a x)}\right )}{a^2}-\frac{3 \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 \text{sech}^{-1}(a x)}\right )}{2 a^2}\\ &=-\frac{3 \text{sech}^{-1}(a x)^2}{2 a^2}-\frac{3 \sqrt{\frac{1-a x}{1+a x}} (1+a x) \text{sech}^{-1}(a x)^2}{2 a^2}+\frac{1}{2} x^2 \text{sech}^{-1}(a x)^3+\frac{3 \text{sech}^{-1}(a x) \log \left (1+e^{2 \text{sech}^{-1}(a x)}\right )}{a^2}+\frac{3 \text{Li}_2\left (-e^{2 \text{sech}^{-1}(a x)}\right )}{2 a^2}\\ \end{align*}
Mathematica [A] time = 0.360192, size = 101, normalized size = 0.99 \[ \frac{\text{sech}^{-1}(a x) \left (a^2 x^2 \text{sech}^{-1}(a x)^2-3 \left (a x \sqrt{\frac{1-a x}{a x+1}}+\sqrt{\frac{1-a x}{a x+1}}-1\right ) \text{sech}^{-1}(a x)+6 \log \left (e^{-2 \text{sech}^{-1}(a x)}+1\right )\right )-3 \text{PolyLog}\left (2,-e^{-2 \text{sech}^{-1}(a x)}\right )}{2 a^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.267, size = 152, normalized size = 1.5 \begin{align*}{\frac{{x}^{2} \left ({\rm arcsech} \left (ax\right ) \right ) ^{3}}{2}}-{\frac{3\,x \left ({\rm arcsech} \left (ax\right ) \right ) ^{2}}{2\,a}\sqrt{-{\frac{ax-1}{ax}}}\sqrt{{\frac{ax+1}{ax}}}}-{\frac{3\, \left ({\rm arcsech} \left (ax\right ) \right ) ^{2}}{2\,{a}^{2}}}+3\,{\frac{{\rm arcsech} \left (ax\right )}{{a}^{2}}\ln \left ( 1+ \left ({\frac{1}{ax}}+\sqrt{{\frac{1}{ax}}-1}\sqrt{1+{\frac{1}{ax}}} \right ) ^{2} \right ) }+{\frac{3}{2\,{a}^{2}}{\it polylog} \left ( 2,- \left ({\frac{1}{ax}}+\sqrt{{\frac{1}{ax}}-1}\sqrt{1+{\frac{1}{ax}}} \right ) ^{2} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{arsech}\left (a x\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x \operatorname{arsech}\left (a x\right )^{3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{asech}^{3}{\left (a x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \operatorname{arsech}\left (a x\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]